import {commonAPI} from './common.js'

const base = `${commonAPI}/home`
/**
 * 获取首页顶部轮播图
 */
export const getSwiperData = () => uni.$http.get(`${base}/swiperdata`)

/**
 * 获取首页分类导航数据
 */
export const getCateNavData = () => uni.$http.get(`${base}/catitems`)

/**
 * 获取楼层数据
 */
export const getFloorData = () => uni.$http.get(`${base}/floordata`)